const TOKEN_KEY = 'TOKEN'
const REFRESH_TOKEN_KEY = 'REFRESH_TOKEN'

export const getToken = () => {
    return localStorage.getItem(TOKEN_KEY)
}

export const setToken = (token) => {
    return localStorage.setItem(TOKEN_KEY, token)
}

export const getRefreshToken = () => {
    return localStorage.getItem(REFRESH_TOKEN_KEY)
}

export const setRefreshToken = (token) => {
    localStorage.setItem(REFRESH_TOKEN_KEY, token)
}